#pragma once

#include "Assert.h"
#include "CoreApi.h"
#include "MathUtils.h"

using namespace loco;

void test_MathUtils()
{
	// perspective projection
	{
		Matrix4 proj = perspective_projection(HALF_PI, 4.0f/3.0f, 0.1f, 100.0f);
		Vector4 eye_pos(1.0f, 1.0f, -1.0f, 1.0f);

		Vector4 screen_pos = proj * eye_pos;
		screen_pos /= screen_pos.w;
		bool b = true;
	}
}